import { defineStore } from 'pinia'
import { ref } from 'vue'

//改变菜单栏收缩
export const useLayoutStore = defineStore('Layout', () => {
  const MenuType = ref(false)
  const changeMenu = () => {
    MenuType.value = !MenuType.value
  }

  return {
    MenuType,
    changeMenu,
  }
})
